package com.nbgs.demo.service.impl;

import com.nbgs.demo.dao.MeterMapper;
import com.nbgs.demo.model.Meter;
import com.nbgs.demo.service.MeterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MeterServiceImpl implements MeterService {
    @Autowired
    private MeterMapper meterMapper;
    @Override
    public void addMeter(Meter meter) {
     meterMapper.addMeter(meter);
    }


    @Override
    public void updateMeter(Meter meter) {
        meterMapper.updateMeter(meter);
    }


}
